package com.commons.service.entity;

import com.baomidou.mybatisplus.annotation.*;
//import io.swagger.v3.oas.annotations.media.*;
import lombok.*;
import lombok.experimental.*;

import java.io.*;
import java.time.*;

/**
 * 系统附件表
 * @author
 * @date 2023-07-26
 */
@Data
@Accessors(chain = true)
@TableName("ai_file")
//@Schema(name="AiFile", description="系统附件表")
public class AiFile implements Serializable {

    private static final long serialVersionUID = 1L;

//    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

//    @Schema(description = "文件名称")
    private String name;

//    @Schema(description = "文件大小（单位：字节）")
    private Long size;

//    @Schema(description = "文件类型")
    private String type;

//    @Schema(description = "文件存储路径")
    private String path;

//    @Schema(description = "扩展信息")
    private String extend;

//    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

//    @Schema(description = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

//    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

//    @Schema(description = "更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;


}
